<template>
  <div class="about">
    <div class="s-model">
      <div class="s-info-box">
        <div class="s-notify-img">
          <img
            style="width: 80px; height: 80px"
            src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
            alt=""
          />
        </div>
        <div class="s-notify-right">
          <div class="s-notify-right-time">
            <span>test</span>
            <span>testß</span>
             
            </div>
          <div class="s-notify-right-content">
            一段内容一段内容一段内容一段内容一段内容
          </div>
        </div>
      </div>
      <!-- <div class="box1">
        <div class="box1-left">
          <el-upload
            class="avatar-uploader"
            action="https://jsonplaceholder.typicode.com/posts/"
            :show-file-list="false"
          >
            <img v-if="imageUrl" :src="imageUrl" class="avatar" />
            <i v-else class="el-icon-plus avatar-uploader-icon"></i>
          </el-upload>
        </div>
        <div class="box1-right">
          <el-input value="字段1" />
          <el-input value="字段1" />
          <el-input value="字段1" />
        </div>
      </div>
      <div class="box2">
        <el-input
          type="textarea"
          :autosize="{ minRows: 2, maxRows: 4 }"
          placeholder="请输入内容"
          v-model="textarea2"
        >
        </el-input>
      </div>
      <div class="box2">
        <el-input
          type="textarea"
          :autosize="{ minRows: 2, maxRows: 4 }"
          placeholder="请输入内容"
          v-model="textarea2"
        >
        </el-input>
      </div>
      <div class="box3">
        <el-button>Default</el-button><el-button>Default</el-button
        ><el-button>Default</el-button><el-button>Default</el-button
        ><el-button>Default</el-button>
      </div>
      <div class="box4">
        <el-input
          type="textarea"
          :autosize="{ minRows: 6, maxRows: 8 }"
          placeholder="请输入内容"
          v-model="textarea2"
        >
        </el-input>
      </div>
      <div class="box5">
        <div class="box5-left">
          <el-upload
            class="upload-demo"
            drag
            action="https://jsonplaceholder.typicode.com/posts/"
            multiple
          >
            <i class="el-icon-upload"></i>
            <div class="el-upload__text">
              将文件拖到此处，或<em>点击上传</em>
            </div>
          </el-upload>
        </div>
        <div class="box5-right">
          <el-button>Default</el-button><el-button>Default</el-button>
        </div>
      </div> -->
    </div>
    <div class="s-notify">
      <div class="s-notify-left"></div>
      <div class="s-notify-img">
        <img
          style="width: 80px; height: 80px"
          src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
          alt=""
        />
      </div>
      <div class="s-notify-right">
        <div class="s-notify-right-time">test test</div>
        <div class="s-notify-right-content">
          一段内容一段内容一段内容一段内容一段内容
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "test",
  data() {
    return {
      textarea2: "",
    };
  },
};
</script>
<style>
.s-model {
  height: 700px;
  width: 500px;
  border-radius: 20px;
  background-color: #122424;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  padding-top: 0;
}
.s-info-box {
  display: flex;
  border-bottom: 1px solid #441bd8;
  padding: 12px 0;
}
.box1 {
  display: flex;
  flex-direction: row;
}
.box1-left {
  width: 120px;
}
.box1-right {
  margin-left: 20px;
  flex: 1;
}
.box2 {
  margin: 12px 0;
}
.box3 {
  display: flex;
  justify-content: space-between;
}
.box4 {
  margin: 12px 0;
}
.box5 {
  margin: 12px 0;
  display: flex;
  justify-content: space-between;
}
.box5-left {
  width: 70%;
}
.box5-right {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-end;
}

.s-notify {
  width: 300px;
  height: 100px;
  position: absolute;
  right: 0;
  top: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: gray;
}
.s-notify-left {
  width: 20px;
  height: 100px;
  background-color: red;
}
.s-notify-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-left: 4px;
  border: 1px solid gray;
  overflow: hidden;
}
.s-notify-right {
  flex: 1;
}

.avatar-uploader .el-upload {
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.avatar-uploader .el-upload:hover {
  border-color: #409eff;
}
.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 120px;
  height: 120px;
  line-height: 120px;
  text-align: center;
}
.avatar {
  width: 178px;
  height: 178px;
  display: block;
}
</style>
